/**
 * Copyright (C), 2020, Y2 T205
 * FileName: Catelog2Vo
 * Author: Lenovo
 * Date: 2020-05-20 18:27
 * Description:
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */


package com.atguigu.gulimall.product.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author Lenovo
 * @create 2020-05-20
 * @since 1.0.0
 */
//2即分类
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catelog2Vo {

    private String catalog1Id;    //1级父分类id
    private List<Catelog3Vo> catalog3List;  //3级子分类
    private String id;
    private String name;

   //三级分类vo
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo{

        private String catalog2Id;
        private String id;
        private String name;

    }
}
